<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>权重的计算</title>
    <style>
        /* 权重为1 */
        ul {
            color: red;
        }

        /* 权重为1 */
        li {
            color: blue;
        }

        /* 权重为10 */
        /* .nav {
            color: green;
        } */

        /* 权重为11 */
        /* .nav li {
            color: yellow;
            font-weight: 700;
        } */

        /* 权重为20 */
        /* .nav .col1 {
            color: pink;

        } */
    </style>
</head>

<body>
    <ul class="nav">
        <li class="col1">1111111</li>
        <li>2222222</li>
        <li>3333333</li>
        <li>4444444</li>
        <li>5555555</li>
    </ul>
</body>

</html>